
package jp.mylyane.afx.logger;

import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;


/**<pre>
 *</pre>
 */
final class ActualLogger extends XLogger
{

	// ---------------------------------------------------------------------------------------
	//
	//                                instance implementation.
	//
	// ---------------------------------------------------------------------------------------
	private Logger log;
	/**<pre>
	 * </pre>
	 * @param className 
	 */
	public ActualLogger(String className) {
		this.log = LogManager.getLogger(className);
	}


	// ---------------------------------------------------------------------------------------
	//
	//                                override XLogger methods.
	//
	// ---------------------------------------------------------------------------------------
	/**
	 * @param t
	 */
	public void catching(Throwable t) {
		this.log.catching(t);
	}
	/**
	 * @param message
	 */
	public void debug(Object message) {
		this.log.debug(message);
	}
	/**
	 * @param message
	 * @param t
	 */
	public void debug(Object message, Throwable t) {
		this.log.debug(message, t);
	}
	/**
	 * @param message
	 */
	public void debug(String message) {
		this.log.debug(message);
	}
	/**
	 * @param message
	 * @param params
	 */
	public void debug(String message, Object... params) {
		this.log.debug(message, params);
	}
	/**
	 * @param message
	 * @param t
	 */
	public void debug(String message, Throwable t) {
		this.log.debug(message, t);
	}
	/**
	 * 
	 */
	public void entry() {
		this.log.entry();
	}
	/**
	 * @param params
	 */
	public void entry(Object... params) {
		this.log.entry(params);
	}
	/**
	 * @param message
	 */
	public void error(Object message) {
		this.log.error(message);
	}
	/**
	 * @param message
	 * @param t
	 */
	public void error(Object message, Throwable t) {
		this.log.error(message, t);
	}
	/**
	 * @param message
	 */
	public void error(String message) {
		this.log.error(message);
	}
	/**
	 * @param message
	 * @param params
	 */
	public void error(String message, Object... params) {
		this.log.error(message, params);
	}
	/**
	 * @param message
	 * @param t
	 */
	public void error(String message, Throwable t) {
		this.log.error(message, t);
	}
	/**
	 * 
	 */
	public void exit() {
		this.log.exit();
	}
	/**
	 * @param result
	 * @return
	 */
	public <R> R exit(R result) {
		return this.log.exit(result);
	}
	/**
	 * @param message
	 */
	public void fatal(Object message) {
		this.log.fatal(message);
	}
	/**
	 * @param message
	 * @param t
	 */
	public void fatal(Object message, Throwable t) {
		this.log.fatal(message, t);
	}
	/**
	 * @param message
	 */
	public void fatal(String message) {
		this.log.fatal(message);
	}
	/**
	 * @param message
	 * @param params
	 */
	public void fatal(String message, Object... params) {
		this.log.fatal(message, params);
	}
	/**
	 * @param message
	 * @param t
	 */
	public void fatal(String message, Throwable t) {
		this.log.fatal(message, t);
	}
	/**
	 * @return
	 */
	public String getName() {
		return this.log.getName();
	}
	/**
	 * @param message
	 */
	public void info(Object message) {
		this.log.info(message);
	}
	/**
	 * @param message
	 * @param t
	 */
	public void info(Object message, Throwable t) {
		this.log.info(message, t);
	}
	/**
	 * @param message
	 */
	public void info(String message) {
		this.log.info(message);
	}
	/**
	 * @param message
	 * @param params
	 */
	public void info(String message, Object... params) {
		this.log.info(message, params);
	}
	/**
	 * @param message
	 * @param t
	 */
	public void info(String message, Throwable t) {
		this.log.info(message, t);
	}
	/**
	 * @return
	 */
	public boolean isDebugEnabled() {
		return this.log.isDebugEnabled();
	}
	/**
	 * @return
	 */
	public boolean isErrorEnabled() {
		return this.log.isErrorEnabled();
	}
	/**
	 * @return
	 */
	public boolean isFatalEnabled() {
		return this.log.isFatalEnabled();
	}
	/**
	 * @return
	 */
	public boolean isInfoEnabled() {
		return this.log.isInfoEnabled();
	}
	/**
	 * @return
	 */
	public boolean isTraceEnabled() {
		return this.log.isTraceEnabled();
	}
	/**
	 * @return
	 */
	public boolean isWarnEnabled() {
		return this.log.isWarnEnabled();
	}
	/**
	 * @param t
	 * @return
	 */
	public <T extends Throwable> T throwing(T t) {
		return this.log.throwing(t);
	}
	/**
	 * @param message
	 */
	public void trace(Object message) {
		this.log.trace(message);
	}
	/**
	 * @param message
	 * @param t
	 */
	public void trace(Object message, Throwable t) {
		this.log.trace(message, t);
	}
	/**
	 * @param message
	 */
	public void trace(String message) {
		this.log.trace(message);
	}
	/**
	 * @param message
	 * @param params
	 */
	public void trace(String message, Object... params) {
		this.log.trace(message, params);
	}
	/**
	 * @param message
	 * @param t
	 */
	public void trace(String message, Throwable t) {
		this.log.trace(message, t);
	}
	/**
	 * @param message
	 */
	public void warn(Object message) {
		this.log.warn(message);
	}
	/**
	 * @param message
	 * @param t
	 */
	public void warn(Object message, Throwable t) {
		this.log.warn(message, t);
	}
	/**
	 * @param message
	 */
	public void warn(String message) {
		this.log.warn(message);
	}
	/**
	 * @param message
	 * @param params
	 */
	public void warn(String message, Object... params) {
		this.log.warn(message, params);
	}
	/**
	 * @param message
	 * @param t
	 */
	public void warn(String message, Throwable t) {
		this.log.warn(message, t);
	}

}



